import Vue from 'vue'
import Router from 'vue-router'
import Work from '../container/work'
import Mine from '../container/mine'
import Message from '../container/message'
import List from '../container/list'
import BottomNav from '../components/BottomNav'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'BottomNav',
      component: BottomNav
    },
    {
      path: '/work',
      name: 'Work',
      component: Work
    },
    {
      path: '/mine',
      name: 'Mine',
      component: Mine
    },
    {
      path: '/message',
      name: 'Message',
      component: Message
    },
    {
      path: '/list',
      name: 'List',
      component: List
    },
  ]
})
